package com.gx.city_picker.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Guoxin on 2021-08-20
 */
public class AreaEntity implements Serializable {

    public int              areaId;
    public String           areaName;
    public List<TownEntity> townList;

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<TownEntity> getTownList() {
        return townList;
    }

    public void setTownList(List<TownEntity> townList) {
        this.townList = townList;
    }

    @Override
    public String toString() {
        return "AreaEntity{" + "areaId=" + areaId + ", areaName='" + areaName + '\'' + ", townList=" + townList + '}';
    }
}
